package com.ruoyi.match.match.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 比赛赔率变化业务对象 mm_history_match_odds_change
 *
 * @author sjz
 * @date 2023-11-20
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class HistoryMatchOddsChangeBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 比赛唯一标识
     */
    @NotBlank(message = "比赛唯一标识不能为空", groups = { AddGroup.class, EditGroup.class })
    private String matchFlag;

    /**
     * 主队胜利赔率
     */
    @NotNull(message = "主队胜利赔率不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal mainWinOdds;

    /**
     * 平赔率
     */
    @NotNull(message = "平赔率不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal levelOdds;

    /**
     * 客队胜利赔率
     */
    @NotNull(message = "客队胜利赔率不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal gustWinOdds;

    /**
     * 比赛时间
     */
    @NotBlank(message = "比赛时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private String timeAttr;

    /**
     * 比赛时间描述
     */
    @NotBlank(message = "比赛时间描述不能为空", groups = { AddGroup.class, EditGroup.class })
    private String timeText;

    /**
     * 备注
     */
    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;


}
